package com.tamo.ppresta.httpapi;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.tamo.ppresta.constant.API_CONSTANT;

import org.jetbrains.annotations.NotNull;

/**
 * @author yeyang
 * @name ppresta
 * @class name：com.tamo.ppresta.httpapi
 * @class describe
 * @time 2022/12/31 17:56
 * @change
 * @chang time
 * @class describe
 */
public class CreateRepayCodeV2Api implements IRequestApi {
    @NonNull
    @NotNull
    @Override
    public String getApi() {
        return API_CONSTANT.CREATE_REPAY_CODE_V2;
    }

    private String languageCode;
    private String itemCode;
    private String sessionId;
    private String loanId;
    private String loanSonId;
    private String productItemCode;
    private String repayType;
    private String channelId;
    private String paySonChannel;
    private String channelCode;
    private String repayBankCode;
    private String repayBankName;

    public CreateRepayCodeV2Api setLanguageCode(String languageCode) {
        this.languageCode = languageCode;
        return this;
    }

    public CreateRepayCodeV2Api setItemCode(String itemCode) {
        this.itemCode = itemCode;
        return this;
    }

    public CreateRepayCodeV2Api setSessionId(String sessionId) {
        this.sessionId = sessionId;
        return this;
    }

    public CreateRepayCodeV2Api setLoanId(String loanId) {
        this.loanId = loanId;
        return this;
    }

    public CreateRepayCodeV2Api setLoanSonId(String loanSonId) {
        this.loanSonId = loanSonId;
        return this;
    }

    public CreateRepayCodeV2Api setProductItemCode(String productItemCode) {
        this.productItemCode = productItemCode;
        return this;
    }

    public CreateRepayCodeV2Api setRepayType(String repayType) {
        this.repayType = repayType;
        return this;
    }

    public CreateRepayCodeV2Api setChannelId(String channelId) {
        this.channelId = channelId;
        return this;
    }

    public CreateRepayCodeV2Api setPaySonChannel(String paySonChannel) {
        this.paySonChannel = paySonChannel;
        return this;
    }

    public CreateRepayCodeV2Api setChannelCode(String channelCode) {
        this.channelCode = channelCode;
        return this;
    }

    public CreateRepayCodeV2Api setRepayBankCode(String repayBankCode) {
        this.repayBankCode = repayBankCode;
        return this;
    }

    public CreateRepayCodeV2Api setRepayBankName(String repayBankName) {
        this.repayBankName = repayBankName;
        return this;
    }
}